package com.atgugui.eduorder.client;

import com.atgugui.commonutils.ordervo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * service-ucenter模块接口调用
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    @GetMapping("/eduucenter/ucenter-member/getMemberInfo/{memberId}")
    UcenterMemberOrder getMemberInfo(@PathVariable("memberId") String memberId);
}
